﻿using B.MES.Customer.Domain;
using B.MES.Customer.Domain.DTO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.MES.Customer.Application.IApplication
{
    /// <summary>
    /// 收入服务层
    /// </summary>
    public interface IIncomeStatementApplication:IBaseApplication<IncomeStatement>
    {
        int AddIncomeState(IncomeStatement incomeStatement);
        PageApiResut<IncomeStatementDTO> GetIncomeStatement(int PageIndex, int PageSize);
        List<IncomeType> GetIncomeType();
        APIResult<IncomeStatement> DeleteIncomeStatement(int incomeId);
        APIResult<List<IncomeStatement>> DeletesIncomeStatement(List<IncomeStatement> list);
        IncomeStatement EditIncomeStatement(int incomeId);
        int UpdateIncomeStatement(IncomeStatement incomeStatement);
    }
}
